﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    class SmithyNPC:NPC
    {
        private string repair;
        private string intensify;
        private string forge;

        public string Repair
        {
            get { return this.repair; }
            set { this.repair = value; }
        }
        public string Intensify
        {
            get { return this.intensify; }
            set { this.intensify = value; }
        }
        public string Forgeood
        {
            get { return this.forge; }
            set { this.forge = value; }
        }

        public SmithyNPC(string name, Type type, string repair) : base(name, type)
        {

            this.repair = repair;

        }
        public override void Say()
        {
            Console.WriteLine("NPC：{0}，我想要{1}",this.Name,this.repair);
        }
    }
}
